/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const operatorRouter = {
  path: '/operator',
  component: Layout,
  redirect: '/operator/operator-list',
  name: 'Operator',
  meta: {
    title: '运营管理',
    icon: 'yunying'
  },
  children: [
    {
      path: '/call-manager',
      name: 'CallManager',
      component: () => import('@/views/operator/call-manager'),
      meta: { title: '叫车配置管理' }
    },
    {
      path: '/area',
      name: 'Area',
      component: () => import('@/views/operator/area'),
      meta: { title: '运营区域管理' }
    },
    {
      path: '/price',
      name: 'Price',
      component: () => import('@/views/operator/price'),
      meta: { title: '价格配置管理' }
    }
  ]
}

export default operatorRouter
